﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using Confucius.entity;

namespace Confucius.dao
{
    /// <summary>
    /// Author:Liangchuan Gu
    /// date:2012-04-08
    /// </summary>
    public interface GameRuleDAO
    {
        /**
	    * Get all the associated trigger ID with one game object.
	    * @param gameID
	    * @return It's map with entries <gameObjectID,List<associatedTriggerIDs>>
	    */
        List<string> getGameObjectAssociatedTriggerIDs(string gameID, string conditionType, string gameObjectID);

        Trigger loadTrigger(string triggerID, string gameID);

        void updateTriggerStatus(string triggerID, string status);

        List<string> retrieveTriggerIDs(string gameID);
    }
}
